package cn.eli.vue;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("cn.eli.vue.controller")
@MapperScan({"cn.eli.vue.mapper.user","cn.eli.vue.mapper.postAsk","cn.eli.vue.mapper.postAnswer","cn.eli.vue.mapper.artical"})
@ComponentScan(basePackages = { "cn.eli.vue" })
public class BackendApplication {
	public static void main(String[] args) {
		SpringApplication.run(BackendApplication.class, args);
	}
}
